/***
 * 筛选组件用到的接口
 */
import { get, post } from '@/utils/request'

export function queryHunterUserTopTen(data) {
  return post({
    url: global.HUNTERHOST + '/hbAuthSchemaEpma/topTenHunterUser',
    dataType: 'json',
    data: data
  })
}

export function queryCmUserTopTen(data) {
  return post({
    // url: global.CM_PORTAL_HOST + '/v1/user/fm/search',
    url: global.HUNTERHOST + '/hbAudit/getAuditData',
    dataType: 'json',
    data: data
  })
}

export function queryCmGroupTopTen(data) {
  return post({
    url: global.CM_PORTAL_HOST + '/v1/user-group/fm/search',
    dataType: 'json',
    data: data
  })
}
